package com.zzu.base.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum CourseTypeEnum {
    SCHOOL_ELECTIVE(0, "校选课"),
    COLLEGE_ELECTIVE(1, "院选课");
    @EnumValue
    @JsonValue
    private  final int id;
    private final String description;
    CourseTypeEnum(int id,String description){
        this.id=id;
        this.description=description;
    }
}
